Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

benchmark.cc: Fix benchmarks_with_threads condition #1651

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

jmr
Copy link
Member

@jmr jmr commented Aug 17, 2023

Change condition for benchmarks_with_threads from benchmark.threads() > 0 to > 1. threads() appears to always be >= 1.

Introduced in fbc6efa (Refactoring of PerfCounters infrastructure (#1559))

Change condition for `benchmarks_with_threads` from `benchmark.threads() > 0` to `> 1`.  `threads()` appears to always be `>= 1`.

Introduced in fbc6efa (Refactoring of PerfCounters infrastructure (google#1559))
@jmr
Copy link
Member Author

jmr commented Aug 17, 2023

@HFTrader

Copy link
Collaborator

@LebedevRI LebedevRI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me.

@dmah42
Copy link
Member

dmah42 commented Aug 17, 2023

thank you!

@dmah42 dmah42 merged commit 885e9f7 into google:main Aug 17, 2023
59 of 60 checks passed
@jmr jmr deleted the num-threads-check branch August 24, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants